package com.itheima.reflectlearn;

public class UserService {

    public void login(){}
    public boolean login(String username,String password){
        if("admin"==username && "123"==password){
            return true;
        }
        else return false;
    }

    public void logout(){
        System.out.println("系统已经安全退出了！");
    }

}
